#include <iostream>

using namespace std;

int main()
{
    int eor = 0;
    int temp[] = {1, 1, 1, 2, 2, 3, 3, 4, 4, 5, 1, 1, 1, 5, 8};
    for (int i = 0; i < (int)(sizeof(temp) / sizeof(temp[0])); i++)
    {
        eor = eor ^ temp[i];
    }
    cout << eor << endl;
    system("pause");
    return 0;
}